SEOPress\Services\Context\ContextPage A

Total Complexity 55
Dependencies 0
Dependents 0
Total lines 326
Lines of code 195
Logical lines of code 111
Comment lines 70
Methods 18
Properties 1

Methods 18

Method Rating Maintainability Complexity Lines of code
buildContextDefault()
B
40 19 57
buildPost()
S
53 5 24
buildIsHome()
S
70 6 5
buildIsFrontPage()
S
61 5 13
buildContextWithCurrentId()
S
60 4 13
buildTerm()
S
64 3 9
getEmptyContext()
S
53 1 26
getContext()
S
71 2 7
setIsHome()
S
76 1 4
setPostById()
S
73 1 5
setIsCategory()
S
76 1 4
setIsFrontPage()
S
76 1 4
setTermId()
S
76 1 4
setHasCategory()
S
76 1 4
setHasTag()
S
76 1 4
setIsSingle()
S
76 1 4
setContextBooleanByKey()
S
76 1 4
setIsPostType()
S
75 1 4